package com.admin.mapper;

import com.admin.domain.Attachment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper��
 */
public interface AttachmentMapper extends BaseMapper<Attachment> {

    List<Attachment> findByIds(@Param("ids") List<Integer> ids);

    List<Attachment> findListByDeclareIds(List<Integer> declareIdList);

    int deleteByDeclareId(Integer declareId);
}